﻿<%@ Page Title="友情链接管理" Language="C#" MasterPageFile="~/Admin/FormPage.master" AutoEventWireup="true" CodeFile="FriendLinkForm.aspx.cs" Inherits="NewsPub_FriendLinkForm"%>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="C">
    <div class="navigation"><a href="javascript:history.go(-1);" class="back">后退</a></div>
		<div id="contentTab">
            <ul class="tab_nav">
                <li class="selected">编辑友情链接</li>
            </ul>
            <div class="tab_con" style="display: block;">         
                 <table class="form_table">
				<col width="180px"/><col/>
       <tbody>
        <tr>
            <th>显示名：</th>
            <td>
            
                    <asp:TextBox ID="frmName" runat="server" CssClass="txtInput normal "></asp:TextBox>                
                   </td>
              </tr><tr>
            <th>上级：</th>
            <td>
            
                   <%--<asp:TextBox ID="frmParentID" runat="server" CssClass="txtInput normal digits" ></asp:TextBox>--%>
                <XCL:DropDownList ID="frmParentID" runat="server" DataTextField="TreeNodeName2" DataValueField="ID"
                    AppendDataBoundItems="True" DataSourceID="ods">
                </XCL:DropDownList>
                <asp:ObjectDataSource ID="ods" runat="server" SelectMethod="FindAllChildsByParent" DataObjectTypeName="NewsPub.FriendLink" TypeName="NewsPub.FriendLink" >
                    <SelectParameters>
                        <asp:Parameter DefaultValue="0" Name="parentKey" Type="Int32" />
                    </SelectParameters>
                </asp:ObjectDataSource>
                  </td>
              </tr><tr>
            <th>网址：</th>
            <td>
            
                    <asp:TextBox ID="frmUrl" runat="server" CssClass="txtInput normal "></asp:TextBox>                
                   </td>
              </tr>
           <%--<tr>
            <th>排序：</th>
            <td>
            
                   <asp:TextBox ID="frmSort" runat="server" CssClass="txtInput normal digits" ></asp:TextBox>
                  </td>
              </tr>--%>
           <tr>
            <th>备注：</th>
            <td>
            
                    <asp:TextBox ID="frmRemark" runat="server" CssClass="txtInput normal " ></asp:TextBox>                    
                    </td>
              </tr>
           <%--<tr>
            <th>Permission：</th>
            <td>
            
                    <asp:TextBox ID="frmPermission" runat="server" CssClass="txtInput normal "></asp:TextBox>                
                   </td>
              </tr>--%>
           <%--<tr>
            <th>IsShow：</th>
            <td>
                            
                <asp:CheckBox ID="frmIsShow" runat="server" Text="IsShow" />                
                </td>
              </tr>--%>

                <tr><th></th>
				<td>
				<asp:Button ID="btnSave" runat="server" Text="提交保存" CssClass="btnSubmit" />
				</td>
				</tr>
				</tbody>
				</table>
            </div>            
        </div>        
</asp:Content>